package com.fduss.artStore.dao;

import com.fduss.artStore.entity.Review;

import java.util.List;

/**
 * @Author duocai wu
 * @Date 2017/6/24
 * @Time 20:53
 */
public interface ReviewDao {

    Review add(Review review);

    void delete(int reviewId);

    void deleteByArtwork(int artworkId);

    List<Review> getByArtWork(int artworkId);
}
